n1 = 1
n2 = 1
puts "#{n1}\n#{n2}"

10.times do
  puts "#{n3 = n1 + n2}"
  n1 = n2
  n2 = n3
end